/* 页脚样式 */
footer {
    background-color: var(--card-background);
    color: var(--text-color);
    padding: 40px 0 20px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
}

.footer-section.about-us {
    flex-basis: 8%;
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section.links .links-columns {
    display: flex;
    gap: 40px;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s, opacity 0.3s;
}

.footer-section.links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icons a {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s, opacity 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal a {
    color: var(--text-color);
    opacity: 0.7;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s, opacity 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* 头部样式 */
header {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    /* margin-bottom: 20px; */
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--card-background);
    position: relative;
    z-index: 1000;
}

/* 头部左侧区域 */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Logo样式 */
.logo {
    font-size: 18px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
}

/* 主导航样式 */
.main-navigation {
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: var(--tip-background);
    color: var(--primary-color);
}

.nav-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 12px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--tip-background);
    color: var(--primary-color);
    padding-left: 20px;
}